gdk/wayland/surface: Use dedicated bool for frame callback freezing
authorJonas Ådahl <jadahl@gmail.com>
Tue, 10 Dec 2019 18:23:17 +0000 (19:23 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 19 Feb 2020 08:47:18 +0000 (09:47 +0100)
commit0d086872aebd1321f2557f7bf576c00aa010b3a1
treee83e2f101b79de20704d55661d9436421d329cfd
parentf284e1d48357d16db6fbec617f85ff95559fb46e
gdk/wayland/surface: Use dedicated bool for frame callback freezing

The freezing is conditioned on various state, so lets make the thawing a
bit more robust. Without this there was a risk that we'd thaw too many
times if there was a frame callback requested while the conditions for
the freezing were not met.
gdk/wayland/gdksurface-wayland.c